<?php

use yii\db\Migration;

class m180622_032021_alter_msg_template extends Migration
{
    public function safeUp()
    {
        $this->alterColumn('{{%msg_template}}','receive_group',$this->string(255)->defaultValue(null)->comment('接收组'));
    }

    public function safeDown()
    {
        $this->alterColumn('{{%msg_template}}','receive_group',$this->string(15)->defaultValue(null)->comment('接收组'));
    }
}
